package shopsim.data;

public class Produkt {
	
	private String name;
	private Double preis;
	private byte productID;
	private byte shopID;
	
	//----------------------//
	
	public Produkt(String pName, Double pPreis, byte pProductID, byte pShopID){
		name = pName;
		preis = pPreis;
		productID = pProductID;
		shopID = pShopID;
	}
	
	public String getName(){
		return name;
	}
	
	public double getPreis(){
		return preis;
	}
	
	public byte getProductID(){
		return productID;
	}
	
	public byte getShopID(){
		return shopID;
	}
	
	public void setName(String pName){
		name = pName;
	}
	
	public void setPreis(Double pPreis){
		preis = pPreis;
	}
	
	public void setProductID(byte pID){
		productID = pID;
	}
	
	public void setShopID(byte pID){
		shopID = pID;
	}
}
